home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / BlitzBasic / VS-Includes / W-Gfx / W-Gfx.DOC < prev   
Encoding:
Text File  |  1998-06-24  |  2.2 KB  |  69 lines

  1.  
  2.                         Window Graphics Library
  3.  
  4.                                 V1.02
  5.                                 =====
  6.  
  7.                          Last Updated 29/12/94
  8.  
  9.    This library is intended to provide some handy functions which, although
  10. relatively simple in nature, give access to some rather nice features.
  11.  
  12.    Currently in this library:
  13.  
  14. STATEMENTS
  15. ==========
  16.       WOutline{x1,y1,x2,y2,HiLite,Shadow}
  17.       WBevel{x1,y1,x2,y2,HiLite,Shadow}
  18.  
  19. FUNCTIONS
  20. =========
  21.       success=AddGList{Window,GadgetList}
  22.       success=RemoveGList{Window,GadgetList}
  23.       success=RedrawGList{Window,GadgetList}
  24.       success=ChangeGList{Window,GadgetList1,GadgetList2}
  25.  
  26.    WOutline draws a Final Copy ][ like outline for you.
  27.    WBevel   draws a funky bevelled gadget thing.
  28.  
  29.    x1,y1 is top left, x2,y2 is bottom right.
  30.    Hilite is the hilite pen, 1 for WB2+   }_ Reverse these for 1.3
  31.    Shadow is the Shadow pen, 2 for WB2+   }  (Obvious really!)
  32.  
  33.    With the gadgetlist functions, Window is the window number you wish to
  34. affect.  GadgetList is the number of the gadget list that is to be modified. 
  35. They are very self explanatory really - you can now add and remove gadgets
  36. quickly with these functions.  When you add or remove a gadget the image on
  37. screen is NOT updated.  When adding, simply call a RedrawGList after to draw all
  38. the gadgets in the list, but for removing gadgets you need to redraw the entire
  39. display.  When using ChangeGList, this process is done for you, an InnerCls is
  40. called and then thee new gadgets are added.
  41.  
  42.    A quick note of acknowledgement - the GList functions were based on some code
  43. written by Stephan Kortleven which was sent to the blitz-list.  He sussed the
  44. removal of Gadgetlists, I just tidied it up and did the adding and redrawing of
  45. them.  Cheers Stephan - I'd been trying to do these tricks for months!
  46.  
  47. UPDATES
  48. =======
  49.  
  50. V1.00 : 27/6/94  : Initial release
  51. V1.01 : 27/10/94 : Added WBevel Statement
  52. V1.02 : 29/12/94 : Added GList functions
  53.  
  54. Thats all.  The code is freeware etc.
  55.  
  56. AUTHOR
  57. ======
  58.  
  59.    Contact me (Mark Tiffany) at
  60.  
  61.       Virtual Software
  62.       37 Norfolk Road
  63.       Littlehampton
  64.       West Sussex
  65.       BN17 5PW
  66.  
  67.    or e-mail at TiffanMO@phymat.bham.ac.uk during University term times.
  68.  
  69.